//Fusion of the 422 Proportion
//Dustin Striplin, Tyler Simrell, Lawrence Grass, and Jacob Hall
//Finished 5/1/13

package view;

import java.io.IOException;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 * The Main class for the webcrawler program
 * @author Lawrence Grass
 * @version 4/28/13
 */
public class Main {
	/*
	 * Private constructor to prevent instantiation.
	 */
	private Main()
	{
		//ignore
	}
	
	
	/**
	 * Initializes the webcrawler app.
	 * @param the_args
	 * @throws IOException
	 */
	public static void main(final String[] the_args) throws IOException
	{
		//set cross-platform java look and feel.
		try
		{
			UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());		
		}
		catch (final UnsupportedLookAndFeelException e)
		{
			e.printStackTrace();
		}
		catch (final InstantiationException e)
		{
			e.printStackTrace();
		}
		catch (final IllegalAccessException e)
		{
			e.printStackTrace();
		}
		catch (final ClassNotFoundException e)
		{
			e.printStackTrace();
		}
		final ReporterView reporterView = new ReporterView();
		reporterView.setLocationRelativeTo(null);
		reporterView.setVisible(true);
	}
}
